/*
 * @Author: zhang zhijiang 2824735304@qq.com
 * @Date: 2024-12-30 14:53:51
 * @LastEditors: zhang zhijiang 2824735304@qq.com
 * @LastEditTime: 2024-12-30 15:20:06
 * @FilePath: /linux/work/helloworld.c
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
 #include<linux/module.h>
 MODULE_LICENSE("GPL");
 int __init hello_init(void)
 {
 printk("hello init\n");
 printk("hello,world!\n");
 return 0;
 }
 void __exit hello_exit(void)
 {
 printk("hello exit\n");
 }
 module_init(hello_init);
 module_exit(hello_exit);